package com.richpay.landiprintdemo.data;

import java.io.Serializable;

public class TransData implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * private String    * 金额 分
     */
    private String amount;
    /**
     * 订单号唯一 且由丰付平台生成
     */
    private String orderId;
    /**
     * 原订单id
     */
    private String origOrderId;//原交易id 撤销、退货、预授权相关联
    /**
     * 交易类型
     */
    private String transType;

    /**
     * 原交易类型
     */
    private String origTransType;

    /**
     * 支付方式
     */
    private String payType;//AL 支付宝   YL 银联    WX 微信
    /**
     * 交易状态
     */
    private int transStatus;//当前的订单状态 已撤销的 之前是成功

    /**
     * 原交易订单状态
     */
    private int origTransStatus;//原交易订单状态
    /**
     * 失败原因
     */
    private String reason;//失败原因

    private String orderDate;//订单日期

    private String orderTime;//订单时间

    private String batchNo;//批次号

    private String origBatchNo;//原交易批次号

    private String voucherNo;//凭证号

    private String origVoucherNo;//原交易凭证号

    private String referNo;//参考号

    private String merchantNo;//商户号

    private String terminalNo;//终端编号

    private String authNo;//授权码

    private String cardNo;//卡号 如果是银行卡支付则是卡号，扫码支付则是付款码 ,显示的时候需要脱敏

    private String issNo;//银行代码

    private boolean isdoublefree;//是否双免

    private String merchantName;//商户名称

    private String acqNo;//收单机构号

    private String cardExpiryDate;//卡有效期

    private String signData;//签名数据


    public String getAmount() {
        return this.amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getOrderId() {
        return this.orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getOrigOrderId() {
        return this.origOrderId;
    }

    public void setOrigOrderId(String origOrderId) {
        this.origOrderId = origOrderId;
    }

    public String getTransType() {
        return this.transType;
    }

    public void setTransType(String transType) {
        this.transType = transType;
    }

    public String getOrigTransType() {
        return this.origTransType;
    }

    public void setOrigTransType(String origTransType) {
        this.origTransType = origTransType;
    }

    public String getPayType() {
        return this.payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public int getTransStatus() {
        return this.transStatus;
    }

    public void setTransStatus(int transStatus) {
        this.transStatus = transStatus;
    }

    public int getOrigTransStatus() {
        return this.origTransStatus;
    }

    public void setOrigTransStatus(int origTransStatus) {
        this.origTransStatus = origTransStatus;
    }

    public String getReason() {
        return this.reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getOrderDate() {
        return this.orderDate;
    }

    public void setOrderDate(String orderDate) {
        this.orderDate = orderDate;
    }

    public String getOrderTime() {
        return this.orderTime;
    }

    public void setOrderTime(String orderTime) {
        this.orderTime = orderTime;
    }

    public String getBatchNo() {
        return this.batchNo;
    }

    public void setBatchNo(String batchNo) {
        this.batchNo = batchNo;
    }

    public String getVoucherNo() {
        return this.voucherNo;
    }

    public void setVoucherNo(String voucherNo) {
        this.voucherNo = voucherNo;
    }

    public String getReferNo() {
        return this.referNo;
    }

    public void setReferNo(String referNo) {
        this.referNo = referNo;
    }

    public String getMerchantNo() {
        return this.merchantNo;
    }

    public void setMerchantNo(String merchantNo) {
        this.merchantNo = merchantNo;
    }

    public String getTerminalNo() {
        return this.terminalNo;
    }

    public void setTerminalNo(String terminalNo) {
        this.terminalNo = terminalNo;
    }

    public String getAuthNo() {
        return this.authNo;
    }

    public void setAuthNo(String authNo) {
        this.authNo = authNo;
    }

    public String getCardNo() {
        return this.cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public String getIssNo() {
        return this.issNo;
    }

    public void setIssNo(String issNo) {
        this.issNo = issNo;
    }

    public boolean getIsdoublefree() {
        return this.isdoublefree;
    }

    public void setIsdoublefree(boolean isdoublefree) {
        this.isdoublefree = isdoublefree;
    }

    public String getMerchantName() {
        return this.merchantName;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }

    public String getAcqNo() {
        return this.acqNo;
    }

    public void setAcqNo(String acqNo) {
        this.acqNo = acqNo;
    }

    public String getCardExpiryDate() {
        return this.cardExpiryDate;
    }

    public void setCardExpiryDate(String cardExpiryDate) {
        this.cardExpiryDate = cardExpiryDate;
    }


    public String getOrigBatchNo() {
        return this.origBatchNo;
    }

    public void setOrigBatchNo(String origBatchNo) {
        this.origBatchNo = origBatchNo;
    }

    public String getOrigVoucherNo() {
        return this.origVoucherNo;
    }

    public void setOrigVoucherNo(String origVoucherNo) {
        this.origVoucherNo = origVoucherNo;
    }

    public String getSignData() {
        return this.signData;
    }

    public void setSignData(String signData) {
        this.signData = signData;
    }

    @Override
    public String toString() {
        return "TransData{" +
                ", amount='" + amount + '\'' +
                ", orderId='" + orderId + '\'' +
                ", origOrderId='" + origOrderId + '\'' +
                ", transType='" + transType + '\'' +
                ", origTransType='" + origTransType + '\'' +
                ", payType='" + payType + '\'' +
                ", transStatus=" + transStatus +
                ", origTransStatus=" + origTransStatus +
                ", reason='" + reason + '\'' +
                ", orderDate='" + orderDate + '\'' +
                ", orderTime='" + orderTime + '\'' +
                ", batchNo='" + batchNo + '\'' +
                ", origBatchNo='" + origBatchNo + '\'' +
                ", voucherNo='" + voucherNo + '\'' +
                ", origVoucherNo='" + origVoucherNo + '\'' +
                ", referNo='" + referNo + '\'' +
                ", merchantNo='" + merchantNo + '\'' +
                ", terminalNo='" + terminalNo + '\'' +
                ", authNo='" + authNo + '\'' +
                ", cardNo='" + cardNo + '\'' +
                ", issNo='" + issNo + '\'' +
                ", isdoublefree=" + isdoublefree +
                ", merchantName='" + merchantName + '\'' +
                ", acqNo='" + acqNo + '\'' +
                ", cardExpiryDate='" + cardExpiryDate + '\'' +
                ", signData='" + signData + '\'' +
                '}';
    }
}